/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Controller;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *This listener is calle when we push de add button
 * @author Bakalian
 */

public class AddListener implements ActionListener{
      private MenuOperation myMenu;
      
    public AddListener() {
    }
/**
 * 
 * @param e the event we catch
 */
    @Override
    public void actionPerformed(ActionEvent e) {
        myMenu=new MenuOperation();// new Menu controller in order to launch RecorContact()
        MenuOperation.RecordContact();
       
       

            // throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
}
